package version

import (
	"fmt"
	"github.com/cuiyuanxin/airuisi-admin/pkg/config"
	"github.com/spf13/cobra"
)

var VersionCmd = &cobra.Command{
	Use:     "version",
	Short:   "Get version info",
	Example: config.AppName + "version",
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println(config.Version)
	},
}
